<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title>Food Online</title>
	<link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" />
    <style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
    </style>
</head>
<body>
<div id="wrapper">
<div id="logo">
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <table width="200" border="0" align="center">
    <tr>
      <td height="30"><FONT size="+6">
        <div align="center">STMS</div></td>
    </tr>
    <tr>
      <td><div align="center">STUDENT MANAGEMENT SYSTEM</div></td>
    </tr>
</table>
  <p>&nbsp;</p>
   
</div>
    <div id="nav">
      <div id="nav-left">
        <ul>
          <li><a href="index.php">Home</a></li>
          <li class="orange">
            <!--div align="left"><a href="http://localhost/stms/pages/data/logout.php">Logout-</a></div-->
            <div align="center"><?php include_once 'time.html';?>

</div>
          </li>
        </ul>
      </div>
      <div id="nav-right">
        <ul>
         
           <li><a href="Aboutus.php">About us</a></li>
          <li><a href="viewhome.php">Student</a></li>
          <li><a href="Adminhome.php">Admin</a></li>
          <li><a href="http://studentmanagements.blogspot.com/">Contact</a></li>
        </ul>
      </div>
    </div>
    <div id="body">
      <div id="left">
        <div id="welcome">
          <h2 class="guilded"><span>Welcome to Student Management System</span></h2>
          <p align="justify">&nbsp;</p>
          <table width="301" border="0">
            <tr>
              <td width="180"><div align="justify">This system guide the students to get their details of their personal,their combinations and their results.The administrator who is responsible to manage this system can make changes in the students' details and their exam results,attendence.A lecturer can know some of the informations.</div></td>
              <td width="46"><img src="images/welcome_chart.jpg" width="100" height="120" align="baseline" /></td>
            </tr>
          </table>
          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <p class="more"></p>
        </div>
      </div>
      <div id="right">
        <div id="booking">
          <h2>Login</h2>
		  <p><?php
        if (isset($_GET['err'])) {
            $err = $_GET['err'];
            echo '<span style="color:  #F4C389">'.$err.'</span>';
        }
        ?>
		</P>
          <form name="login" action="data/validateuser.php" method="post">
            <table border="0" cellspacing="2" cellpadding="0">
              <tr>
                <th>User</th>
                <td><input type="text" name="username" value="" class="text" /></td></tr>
              <tr>
                <th>Password</th>
                <td><input type="password" name="password"  class="text"></td></tr>
              <tr>
                <td class="submission" colspan="2"><div align="center">
                  <label>
                  <input type="submit" name="Submit" value="Sign in" />
                  </label>
                </div></td></tr> 
            </table>
            <p align="center">If you have not done so then please <a href="createuser.php">register </a>, its free. </p>
          </form>
        </div>
      </div>
      <div class="clear">&nbsp;</div>
      <div id="footer">
        <ul>
          <li><a href="index.php">Home</a> | </li>
          <li><a href="Aboutus.php">About Us</a> | </li>
          <li><a href="">Menu</a> | </li>
          <li><a href="http://studentmanagements.blogspot.com/">Contact</a></li>
        </ul>
        <p>copyright &copy;STMS Group03</p>
      </div>
    </div>
</div>
</body>
</html>
